package com.refuel.domain;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;

/**
 * @author zhanghao
 * @description 中奖记录
 * @date 2024/5/10 15:38
 **/
@Schema(description = "中奖记录")
public class WinnerRecord {

    /**
     * 用户id
     */
    @Schema(description = "用户id", example = "123456")
    private String uid;

    /**
     * 活动id
     */
    @Schema(description = "活动id", example = "123456")
    private String activityId;

    /**
     * 活动期号
     */
    @Schema(description = "活动期号", example = "20240501")
    private String seriesNo;

    /**
     * 参与时间
     */
    @Schema(description = "参与时间", example = "2024-05-01 00:00:00")
    private Date time;

    /**
     * 活动所需积分
     */
    @Schema(description = "活动所需积分", example = "10")
    private Integer integral;

    /**
     * 中奖信息
     */
    @Schema(description = "中奖信息", example = "一等奖")
    private String winInfo;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getSeriesNo() {
        return seriesNo;
    }

    public void setSeriesNo(String seriesNo) {
        this.seriesNo = seriesNo;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public String getWinInfo() {
        return winInfo;
    }

    public void setWinInfo(String winInfo) {
        this.winInfo = winInfo;
    }
}
